/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dto;

import java.io.Serializable;

/**
 *
 * @author duonghung1369
 */
public class Image implements Serializable {

    private int id;
    private String name;
    private String description;
    private String url;
    private boolean is_bigsize;
    private Product product;

    public Image() {
    }

    

    public Image(String name, String desc, String url, boolean bigsize) {
        this.name = name;
        this.description = desc;
        this.url = url;
        this.is_bigsize = bigsize;
    }

    public Image(int id, String name, String desc, String url, boolean bigsize) {
        this.id = id;
        this.name = name;
        this.description = desc;
        this.url = url;
        this.is_bigsize = bigsize;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the url
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url the url to set
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return the product
     */
    public Product getProduct() {
        return product;
    }

    /**
     * @param product the product to set
     */
    public void setProduct(Product product) {
        this.product = product;
    }

    /**
     * @return the is_bigsize
     */
    public boolean isIs_bigsize() {
        return is_bigsize;
    }

    /**
     * @param is_bigsize the is_bigsize to set
     */
    public void setIs_bigsize(boolean is_bigsize) {
        this.is_bigsize = is_bigsize;
    }
    
}
